package com.ms3ds.deviceData.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 设备管理对象 device
 * 
 * @author zlw
 * @date 2025-09-20
 */
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 区域id */

    private Long areaId;

    @Excel(name = "区域名")
    private String areaName;

    /** 设备名 */
    @Excel(name = "设备名")
    private String deviceName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;

    /** x坐标 */
    @Excel(name = "x坐标")
    private Long x;

    /** y坐标 */
    @Excel(name = "y坐标")
    private Long y;

    /** z坐标 */
    @Excel(name = "z坐标")
    private Long z;

    /** 经度 */
    @Excel(name = "经度")
    private Long lon;

    /** 纬度 */
    @Excel(name = "纬度")
    private Long lat;

    /** 高程 */
    @Excel(name = "高程")
    private Long height;

    private String delFlag;

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }

    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }

    public void setX(Long x) 
    {
        this.x = x;
    }

    public Long getX() 
    {
        return x;
    }

    public void setY(Long y) 
    {
        this.y = y;
    }

    public Long getY() 
    {
        return y;
    }

    public void setZ(Long z) 
    {
        this.z = z;
    }

    public Long getZ() 
    {
        return z;
    }

    public void setLon(Long lon) 
    {
        this.lon = lon;
    }

    public Long getLon() 
    {
        return lon;
    }

    public void setLat(Long lat) 
    {
        this.lat = lat;
    }

    public Long getLat() 
    {
        return lat;
    }

    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("deviceName", getDeviceName())
            .append("deviceCode", getDeviceCode())
            .append("x", getX())
            .append("y", getY())
            .append("z", getZ())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("height", getHeight())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
